Bookly\Lib\Base\Gateway B

Total Complexity 79
Dependencies 23
Dependents 3
Total lines 465
Lines of code 264
Logical lines of code 146
Comment lines 108
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
complete()
B
41 21 50
retrieve()
A
46 10 36
fail()
S
52 6 22
createIntent()
S
54 5 22
removeCascade()
S
60 4 13
refund()
S
56 3 18
getMetaData()
S
64 4 9
getResponseUrl()
S
55 2 20
createCheckout()
S
63 2 11
__construct()
S
72 2 5
applyCode()
S
69 2 7
validatePaymentData()
S
76 2 3
createPayment()
S
66 2 9
getCodes()
S
68 2 7
getCheckoutUrl()
S
100 1 0
getInternalMetaData()
S
100 1 0
refundPayment()
S
78 1 3
getWebHookUrl()
S
64 1 10
retrieveStatus()
S
100 1 0
isOnSite()
S
82 1 3
setPayment()
S
77 1 4
getGatewayAmount()
S
81 1 3
getGatewayTax()
S
81 1 3
getPayment()
S
82 1 3
getType()
S
82 1 3
createGatewayIntent()
S
100 1 0